<!--<div id="poster">
  <img
    crossorigin=“anonymous”
    v-if="posterDataUrl"
    :src="posterDataUrl">
  <qrcode v-if="!posterDataUrl" url="jmc" :iconurl="logo" :wid="200"
          :hei="200" :imgwid="50" :imghei="50"
          colorLight="#ffffff" colorDark="#333333"
  />
  <div v-if="!posterDataUrl">二维码</div>
</div>-->

<script>
 /* import html2canvas from 'html2canvas'
  import qrcode from "vue_qrcodes"
  openQr(item) {
    this.qrVisible = true
    console.log(item)
    setTimeout(() => {
      this.canvas()
    }, 500)
  },
  canvas() {
    const poster = document.getElementById('poster')
    html2canvas(poster, {useCORS: true}).then(canvas => {
      this.posterDataUrl = canvas.toDataURL('image/png')
    })
  },*/
</script>
